home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / DirectMusic / DMDrums / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.5 KB  |  45 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: DMDrums Sample
  4. // 
  5. // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12. The DMDrums sample illustrates playing Motif's from a 
  13. DirectMusic segment, as well as playing grooves from that 
  14. same segment using different instrument sets.
  15.  
  16.   
  17. Path
  18. ====
  19.   Source: DXSDK\Samples\Multimedia\VBSamples\DirectMusic\DMDrums
  20.  
  21.   Executable: DXSDK\Samples\Multimedia\VBSamples\DirectMusic\bin
  22.  
  23.  
  24. User's Guide
  25. ============
  26. Clicking any of the drum buttons will play that Drum based on the 
  27. current grove and instrument set.  You can also click the Play 
  28. button to play a default sample of that instrument set.  Volume and 
  29. Tempo can also be changed.
  30.  
  31. Programming Notes
  32. =================
  33. On startup drums!.sgt and drums!.sty are loaded, and all motifs are
  34. loaded from the style.  All available bands are loaded next, and the 
  35. list of 'Grooves' are loaded.  We then play each motif whenever the 
  36. corresponding button is pressed.  If the Play button is stopped we 
  37. play the default segment.
  38.  
  39. Whenever a new band is selected we unload the current band, and then
  40. load a new band (based on what is selected in the list box), and download
  41. that band.  We also call SetMasterGrooveLevel whenever the groove has changed.
  42.  
  43. Finally, we can turn on and off environmental reverb by changing the default
  44. audio path for DirectMusic.
  45.